package net.fdukedom.chart;

/**
 * @author Dmitry Y. Kochelaev
 */
public class Dot2D {
	
	/**
	 * Value of horizontal coordinate.
	 */
	private double x;
	
	/**
	 * Value of vertical coordinate.
	 */
	private double y;

	/**
	 * Creates an instance of dot. 
	 */
	public Dot2D(double x, double y) {
		super();
		this.x = x;
		this.y = y;
	}

	/**
	 * Returns x coordiante.
	 * 
	 * @return x coordinate.
	 */
	public double getX() {
		return x;
	}

	/**
	 * Returns y coordinate.
	 * 
	 * @return y coordinate.
	 */
	public double getY() {
		return y;
	}
	
}
